SetAutoUpdate
TheSetAutoUpdate
method sets this link-source object's update mode to automatic or manual.
void SetAutoUpdate (in ODBoolean automatic);
automatic
kODTrue
to set the update mode for this link-source object to automatic andkODFalse
to set it to manual.DISCUSSION
If your part is the source part of this link-source object, after you call theShowLinkSourceInfo
method, you can call this method to set the update mode to the mode the user selected in the Link Source Info dialog box. You can also call this method if you want to implement your own link information dialog boxes.Your part should use the new update mode to determine when to update the content of this link-source object. If the
automatic
parameter is true, your part should update this link-source object whenever the source content is changed. If the parameter is false, your part should update this link-source object when the user clicks the Update Now button in the Link Source Info dialog box. (Whenever your part updates this link-source object, it should also call theContentUpdated
method.)SEE ALSO
TheODLinkSource::ContentUpdated
method (page 378).
TheODLinkSource::IsAutoUpdate
method (page 381).
TheODLinkSource::ShowLinkSourceInfo
method (page 386).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help